using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Common.Utilities.Dispatcher;


namespace Workflows.Components.FileManipulation
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class FtpOutput:ResultBase
    {
        private string _OutputPath;
        /// <summary>
        /// uploaded file path or downloaded file path
        /// </summary>
        public string TgtPath
        {
            get { return _OutputPath; }
            set { _OutputPath = value; }
        }
	    /// <summary>
	    /// ctor
	    /// </summary>
        public FtpOutput():base(Guid.Empty,Guid.Empty)
        {
            this._OutputPath = string.Empty;
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="componentID"></param>
        /// <param name="jobTicketID"></param>
        /// <param name="tgtpath"></param>
        public FtpOutput(Guid componentID, Guid jobTicketID, string tgtpath) : base(componentID, jobTicketID)
        {
            this._OutputPath = tgtpath;
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="xDoc"></param>
        /// <param name="parentNode"></param>
        /// <returns></returns>
        public override XmlNode Serialize(ref XmlDocument xDoc, ref XmlNode parentNode)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="xNode"></param>
        /// <returns></returns>
        public override ResultBase Instantiate(XmlNode xNode)
        {
            throw new NotImplementedException();
        }
    }
}
